Skip to content

Commit

Permalink
new .pyyintrc file, fix broken imports, changed project name to all l…
Browse files Browse the repository at this point in the history
…owercase in setup.cfg
  • Loading branch information
mccroweyclinton-EPA committed Dec 3, 2024
1 parent e06cdb8 commit 3716766
Show file tree
Hide file tree
Showing 7 changed files with 674 additions and 96 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/buildandtestpyaqsapi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build_and_test_pyaqsapi
name: new_build_and_test_pyaqsapi
run-name: A push event from ${{ github.actor }} caused a rebuilding and retesting of the pyaqsapi package via GitHub actions

on:
Expand All @@ -11,6 +11,10 @@ on:
- main
- github_workflow

defaults:
run:
shell: bash -leo pipefail {0}

jobs:
setup_environment:
runs-on: ubuntu-latest
Expand All @@ -30,33 +34,30 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Activate Conda environment
run: |
eval "$(conda shell.bash hook)"
conda activate setuppyaqsapi
- name: install_dependencies
run: |
conda config --add channels conda-forge
conda update --yes conda
conda install --yes conda-libmamba-solver
conda config --set solver libmamba
conda env update --file=environment.yml -vv
#echo "source activate base" >> ~/.bashrc
#source ~/.bashrc

- name: setup environment
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
init-shell: >-
bash
powershell
cache-environment: true
environment-name: pyaqsapi
post-cleanup: 'all'
shell: pwsh

- name: Display Python and sphinx version and system info
run: |
conda init
python -c "import platform; print(platform.uname())"
sphinx-build --version
- name: build and install pyaqsapi in a test environment
- name: build and install pyaqsapi in a test environment using python-build and pip
run: |
python -m build .
pip install .
- name: build apidocs
run: |
cd docs
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/newbuildandtestpyaqsapi.yml

This file was deleted.

Loading

0 comments on commit 3716766

Please sign in to comment.