GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — scyjava/.github/workflows/build.yml at main · sameeul/scyjava 105 lines (94 loc) · 2.68 KB / Copy pathbuild.ymlFile metadata and controls105 lines (94 loc) · 2.68 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 name: build on: push: branches: - main tags: - "*-[0-9]+.*" pull_request: branches: - main jobs: build-cross-platform: name: test ${{matrix.os}} - ${{matrix.python-version}} runs-on: ${{ matrix.os }} strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] python-version: [ '3.8', '3.10', '3.12' ] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v3 with: python-version: ${{matrix.python-version}} - uses: actions/setup-java@v3 with: java-version: '11' distribution: 'zulu' cache: 'maven' - name: Install ScyJava run: | python -m pip install --upgrade pip python -m pip install -e '.[dev]' - name: Test ScyJava run: | bin/test.sh --color=yes ensure-clean-code: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v3 - name: Lint code run: | python -m pip install ruff ruff check ruff format --check - name: Validate pyproject.toml run: | python -m pip install validate-pyproject[all] python -m validate_pyproject pyproject.toml conda-dev-test: name: Conda Setup & Code Coverage runs-on: ubuntu-latest defaults: # Steps that rely on the activated environment must be run with this shell setup. # See https://github.com/marketplace/actions/setup-miniconda#important run: shell: bash -l {0} steps: - uses: actions/checkout@v2 - name: Cache conda uses: actions/cache@v4 env: # Increase this value to reset cache if dev-environment.yml has not changed CACHE_NUMBER: 0 with: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('dev-environment.yml') }} - uses: conda-incubator/setup-miniconda@v3 with: # Create env with dev packages auto-update-conda: true python-version: 3.9 miniforge-version: latest environment-file: dev-environment.yml # Activate scyjava-dev environment activate-environment: scyjava-dev auto-activate-base: false # Use mamba for faster setup use-mamba: true - name: Test scyjava run: | bin/test.sh --cov-report=xml --cov=. # We could do this in its own action, but we'd have to setup the environment again. - name: Upload Coverage to Codecov uses: codecov/codecov-action@v2 |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |