devops's People
devops's Issues
Simplify actions by using built-in conditional execution
Conditional execution has now been implemented for composite actions.
From actions/runner#834 (comment)
Runner v2.284.0 and with it, conditional execution of composite actions is available across all hosted and self-hosted runners on github.com.
Tell Devel::Cover to ignore files outside current build directory
This issue comes up in the coverage results of Test-PDL:
-pdl-commits:#pdl- [Test-PDL] [build/push]: โS โ a8ba9e2 | Zaki Mughal [sivoais] | Use shared GitHub Actions from PDLPorters (#6)
https://github.com/ebaudrez/Test-PDL/actions/runs/1557475038
[@sivoais] one odd thing with the coverage above: it thinks that a file from the PDL distribution is part of the coverage
[@sivoais] a file that is located in ~/.cpanm ??
[@sivoais] i saw this locally as well, but didn't bother tracking it down in Devel::Cover
[@sivoais] so even though Test-PDL's coverage is really 100%, it comes out at 76% on Coveralls
Coveralls link is: https://coveralls.io/jobs/91303010.
This is possibly just a matter of adding a -ignore_re
option to the cover
command, but will need to be tested.
$ $TEST_RUNNER_PREFIX $MYPERL -S cover -test -relative_only -gcov_chdir -report Coveralls
----------------------------------- ------ ------ ------ ------ ------ ------
File stmt bran cond sub time total
----------------------------------- ------ ------ ------ ------ ------ ------
...PDL-2.063/Basic/Core/Types.pm.PL 34.1 19.2 20.0 33.3 43.0 31.0
blib/lib/Test/Deep/PDL.pm 100.0 75.0 n/a 100.0 5.3 97.7
blib/lib/Test/PDL.pm 100.0 100.0 100.0 100.0 51.6 100.0
Total 73.3 69.4 81.8 58.2 100.0 70.3
----------------------------------- ------ ------ ------ ------ ------ ------
Improve ccache for XS code
Refactor: update CI to use `os: macos-latest`
Solaris testing procedure
Recording the steps taken for testing on Solaris:
Set up VM
# using a Vagrant box from <http://www.vagrantbox.es/>
vagrant box add solaris-11.2 http://www.benden.us/vagrant/solaris-11.2.box
vagrant init solaris-11.2
vagrant up
vagrant ssh
Download SolarisStudio 12.3 from here. You will need to create an Oracle account.
Prepare PDL build
cd /vagrant
tar xvjf SolarisStudio12.3-solaris-x86-bin.tar.bz2
echo 'export PATH=/vagrant/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin:$PATH;' >> ~/.bashrc
echo 'export MANPATH=/vagrant/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/man:$MANPATH;' >> ~/.bashrc
. ~/.bashrc
sudo perl -MCPAN -eshell
> install App::cpanminus
echo 'export PATH=/usr/perl5/5.12/bin::$PATH;' >> ~/.bashrc
echo 'export MANPATH=/usr/perl5/5.12/man:$MANPATH;' >> ~/.bashrc
. ~/.bashrc
git clone https://github.com/PDLPorters/pdl.git
cd pdl
sudo cpanm Devel::CheckLib
sudo cpanm --installdeps .
\curl -L http://install.perlbrew.pl | bash
echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bashrc
. ~/.bashrc
Automate the Coveralls, Travis-CI, and Appveyor enabling
- Copy and check existing configuration files for multiple repos (
.travis.yml
,appveyor.yml
). - Check that the settings are enabled on each site.
- Check that the badges exist already in the
README.md
. Otherwise en-badgen them.
fix Appveyor and GitHub org permissions
The Appveyor perm model is a little wonky when it interacts with GitHub. See http://help.appveyor.com/discussions/questions/1154-appveyor-account-for-github-organizations.
It needs to allow for others in the org to access the build settings.
SciPDL installer
Automate the process of building a SciPDL installer for Mac OSX, Windows, and (maybe) Linux.
Add config deps step to ci-dist
Use an argument to the ci-dist
action that lists the config time deps and
install as:
shell: bash
run: |
$MYPERL -S cpanm --build-args -j4 --dev -n ${{ config-deps }} || ( cat ~/.cpanm/build.log && false )
Add more notifications for more events
- PR closed/merged
- Issue assigned/closed
- PR review requested/reviewed
CI does not appear to save the output of Makfile.PL in the job run logs
Maybe it does, but I couldn't find the output here:
https://github.com/PDLPorters/pdl-linearalgebra/runs/7588380931?check_suite_focus=true
Could something like this be added? I'm not sure where it would be placed:
perl Makefile.PL 2>&1 | tee makemaker.log
cat makemaker.log
Test on different architectures
See PDLPorters/pdl#369.
Appveyor build should test under more Windows environments
- Cygwin Perl
- MSYS2 + MinGW64 Perl
- MSYS2 + MinGW32 Perl
- ActiveState + MSVC
Create a Homebrew tap for PDL
Downstream testing of specific projects other than PDL
e.g., PDL-LinearAlgebra.
Create a PDL Dockerfile
Appveyor build should send a notification to #pdl IRC channel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.